//
//  MMNetwork.swift
//  JSTech
//
//  Created by 高得华 on 2019/10/11.
//  Copyright © 2020 华&梅. All rights reserved.
//

import UIKit

//class MMNetwork: NSObject { }

//MARK: - ===== 高得华
extension MDHHTTPService {
    ///v1.chat/reconnectroom 断线重新进入聊天室
    @objc func v1_chat_reconnectroom() -> RACSignal<AnyObject> {
        /// 1. 配置参数
        let dict = [String: String]()
        /// 2. 配置参数模型 #define MH_GET_LIVE_ROOM_LIST  @"Room/GetHotLive_v2"
        let paramters = MDHURLParameters.init(method: MMWPT_HTTTP_METHOD_POST, path: "", parameters: dict)
        /// 3.发起请求
        return MDHHTTPRequest.init(parameters: paramters).enqueueResultClass(MDHPTModel.classForCoder()).mdh_parsedResults()
    }
}
